FROM registry.cn-shanghai.aliyuncs.com/gongxincheng/jdk_8_171:1.0

MAINTAINER GongXincheng gongxincheng1@163.com

ENV WORK_PATH /usr/local/java
WORKDIR $WORK_PATH

COPY gxc_springboot_test-0.0.1-SNAPSHOT.jar /usr/local/java

VOLUME ["/logs"]

EXPOSE 8888

CMD ["java", "-jar", "gxc_springboot_test-0.0.1-SNAPSHOT.jar", "--spring.profiles.active=dev"]